package com.atguigu.cloud.service;

import com.atguigu.cloud.dto.UserDTO;
import com.atguigu.cloud.entities.User;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author Administrator
 * @description 针对表【xl_user】的数据库操作Service
 * @createDate 2024-03-03 00:29:28
 */
public interface UserService extends IService<User> {

    /**
     * 分页查询用户
     *
     * @param userDTO 用户列表
     * @param page    分页参数
     * @return 分页数据
     */
    Page<UserDTO> getUserPage(UserDTO userDTO, Page<UserDTO> page);
}
